package com.javaweb.service;

import com.javaweb.service.dto.ArticleConditionDto;
import com.javaweb.service.dto.ArticleDto;
import com.javaweb.service.dto.ArticleUpdateDto;

import java.util.List;

public interface ArticleService {

    public void publishArticle(String articleId) ;

    List<ArticleDto> findArticlesByCondition(ArticleConditionDto articleCond);

    ArticleDto addArticle(ArticleDto articleDto);

    ArticleUpdateDto updateArticle(ArticleUpdateDto articleUpdateDto);
}
